<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>博客主页</title>
</head>
<body>
<h2>我的博客列表：</h2>
<br>
<h3><a href="{% url 'app:addblogs' %}">+ 添加博文</a></h3>
<hr>
<ul>
{% for blog in blogs %}
    <li>
    <h5>{{ blog.blog_user }}:</h5>
    <a href="{% url 'app:showblogs' blog.id %}">{{ blog.title }}</a><br>
    <h5>{{ blog.btime }}</h5>
    </li>
{% endfor %}
</ul>
</body>
</html>